package com.soecode.lyf.common;

import java.util.HashSet;
import java.util.Set;

import com.soecode.lyf.entity.Person;
import com.soecode.lyf.privilege.Privilege;

/**
 * Created by lijie on 16/11/5.
 */
public class SessionBean {

	private Person person;

	private Set<Privilege> privileges = new HashSet<>();

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Set<Privilege> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(Set<Privilege> privileges) {
		this.privileges = privileges;
	}

}
